﻿using StarsAdmin.Core.Attributes;
using System.ComponentModel.DataAnnotations;

namespace StarsAdmin.Application.Role.Dtos
{
    public class ImportRoleInput
    {
        /// <summary>
        /// 导入的角色列表
        /// </summary>
        [Required(ErrorMessage = "roles 字段是必须的")]
        [NotEmptyCollection(ErrorMessage = "导入的角色集合不能为空")]
        public List<AddRoleInput> Roles { get; set; }
    }
}